USE DB_TCC
IF EXISTS(SELECT 1 FROM SYSOBJECTS WHERE NAME LIKE 'P_VAGA_PERGUNTA_INCLUIR')
	DROP PROCEDURE P_VAGA_PERGUNTA_INCLUIR
GO
CREATE PROCEDURE P_VAGA_PERGUNTA_INCLUIR(
	@IDVAGA		INTEGER,
	@IDPERGUNTA	INTEGER,
	@USUARIO	VARCHAR(100))
AS BEGIN
	INSERT INTO VAGA_PERGUNTA(
		IDVAGA,
		IDPERGUNTA,
		USUARIOINCLUSAO,
		DTHRINCLUSAO,
		USUARIOALTERACAO,
		DTHRALTERACAO)
	VALUES(
		@IDVAGA,
		@IDPERGUNTA,
		@USUARIO,
		GETDATE(),
		@USUARIO,
		GETDATE())
END